package cn.neusoft.luofa603.yuejian.Service;

import javax.xml.transform.Result;

import cn.neusoft.luofa603.yuejian.Bean.UserLogin;
import cn.neusoft.luofa603.yuejian.Bean.UserReg;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/9/29.
 */

public interface UserService {

    @GET("reg")
    Call<UserReg>Register(@Query("tel") String tel,
            @Query("password") String password);

    @GET("login")
    Call<UserLogin>Login(
            @Query("tel")String tel,
            @Query("password")String password
    );


}
